package com.choosefine.it.team.service.Impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.choosefine.it.team.dao.AuthorizationPictureMapper;
import com.choosefine.it.team.model.AuthorizationPicture;
import com.choosefine.it.team.service.AuthorizationPictureService;

/**
 * @author chenjian
 * @date 2016-12-19 下午5:18:27
 */
@Service
public class AuthorizationPictureServiceImpl implements AuthorizationPictureService{

    @Autowired
    AuthorizationPictureMapper authorizationPictureDao;

	@Override
	public int saveAuthorizationPicture(AuthorizationPicture record) {
		return authorizationPictureDao.saveAuthorizationPicture(record);
	}

	@Override
	public List<AuthorizationPicture> findPictureByCon(Integer id) {
		return authorizationPictureDao.findPictureByCon(id);
	}

	@Override
	public int updateAuthorizationPicture(AuthorizationPicture record) {
		return authorizationPictureDao.updateAuthorizationPicture(record);
	}
	
	@Override
	public int deleteAuthorizationPicture(AuthorizationPicture record) {
		return authorizationPictureDao.deleteAuthorizationPicture(record);
	}

	@Override
	public List<String> findPictureByItemId(AuthorizationPicture record) {
		return authorizationPictureDao.findPictureByItemId(record);
	}
	
	
   
}
